package com.tracesystem.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tracesystem.controller.form.IssueDistributionForm;
import com.tracesystem.controller.info.*;
import com.tracesystem.model.IssueBaseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-24
 */
@Component
public interface IssueBaseInfoDao extends BaseMapper<IssueBaseInfo> {

    Page<IssueDetailInfo> selectIssuePage(IssuePage issuePageForm);

    IssueDetailInfo selectIssueInfoById(Integer issueId);

    List<IssueDistributionInfo> selectIssueDistribution(IssueDistributionForm issueDistributionForm);

}
